package com.quectel.core.module.help.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author bob
 * @email bob.yu@quectel.com
 * @date 2023/04/24 18:38
 */
@Data
@Schema
public class FeedbackDto implements Serializable {

    /**
     * id
     */
    @Schema(description = "id")
    private Long id;

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
     * 小区id
     */
    @Schema(description = "小区id")
    private Long villageId;

    /**
     * 人员来源类型
     */
    @Schema(description = "人员来源类型")
    private Byte personType;

    /**
     * 对应人员id
     */
    @Schema(description = "对应人员id")
    private Long personId;

    @Schema(description = "联系手机号")
    private String mobile;

    /**
     * 意见内容
     */
    @Schema(description = "意见内容")
    private String content;

    /**
     * 上传图片
     */
    @Schema(description = "上传图片")
    private String imgs;

    @Schema(description = "状态 -1未处理 1已处理")
    private Byte status;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /************非数据库字段 start ************/
    @Schema(description = "投诉人姓名")
    private String personName;

    @Schema(description = "小区名称")
    private String villageName;

    /************非数据库字段 end **************/
}
